@layout("/common/_container.html",{js:["/assets/business/userTransactionLog/userTransactionLog.js"]}){

<div class="layui-body-header">
    <span class="layui-body-header-title">用户交易记录管理</span>
</div>

<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-sm12 layui-col-md12 layui-col-lg12">
            <div class="layui-card">
                <div class="layui-card-body">
                    <div class="layui-form toolbar">
                        <div class="layui-form-item">
                            <div class="layui-inline">
                                <select id="type">
                                    <option value="">交易类型</option>
                                    <option value="0">提现</option>
                                    <option value="1">升级等级</option>
                                </select>
                            </div>
                            <div class="layui-inline">
                                <select id="payMode">
                                    <option value="">交易方式</option>
                                    <option value="0">支付宝</option>
                                    <option value="1">微信</option>
                                    <option value="2">银行卡</option>
                                </select>
                            </div>
                            <div class="layui-inline">
                                <select id="state">
                                    <option value="">处理状态</option>
                                    <option value="0">提交</option>
                                    <option value="1">处理中</option>
                                    <option value="2">完成</option>
                                    <option value="3">失败</option>
                                </select>
                            </div>
                            <div class="layui-inline">
                                <input id="beginTime" class="layui-input" type="text" placeholder="开始时间"/>
                            </div>
                            <div class="layui-inline">
                                <input id="endTime" class="layui-input" type="text" placeholder="结束时间"/>
                            </div>
                            <div class="layui-inline">
                                <button id="btnSearch" class="layui-btn icon-btn"><i class="layui-icon">&#xe615;</i>搜索</button>
                                <button id="btnExp" class="layui-btn icon-btn"><i class="layui-icon">&#xe67d;</i>导出</button>
                            </div>
                        </div>
                    </div>
                    <table class="layui-table" id="userTransactionLogTable" lay-filter="userTransactionLogTable"></table>
                </div>
            </div>
        </div>
    </div>
</div>

<!--<script type="text/html" id="tableBar">-->
    <!--<a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="edit">查看详情</a>-->
<!--</script>-->

<script type="text/html" id="typeTpl">
    <div style="color: red">
        {{d.type ==0? '提现':'升级等级'}}
    </div>
</script>
<script type="text/html" id="payModeTpl">
    <div style="color: red">
        {{d.payMode ==0? '支付宝':d.payMode==1?'微信':'银行卡'}}
    </div>
</script>

<script type="text/html" id="stateTpl">
    <div style="color: red">
        {{d.state ==0? '提交':d.state==1?'处理中':d.state==2?'完成':'失败'}}
    </div>
</script>
@}